ContentEgg\application\components\TemplateManager B

Total Complexity 90
Dependencies 6
Dependents 1
Total lines 466
Lines of code 338
Logical lines of code 192
Comment lines 7
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
getTemplatesList()
A
43 9 50
scanTemplates()
A
48 9 35
enqueueCeggStyle()
A
56 8 19
getViewPath()
S
50 7 30
renderBlock()
S
59 6 14
enqueueProductsStyle()
S
55 5 18
getVariantCss()
S
57 5 16
render()
S
54 4 22
prepareShortcodeTempate()
S
56 4 21
getPartialViewPath()
S
55 4 21
getFullTemplateId()
S
56 3 19
getPrimaryColorBackwardCompatibility()
S
63 4 10
renderPath()
S
64 3 9
isCustomTemplate()
S
65 2 10
isVisible()
S
72 2 5
renderPartial()
S
70 2 6
setParams()
S
81 1 3
isHide()
S
78 1 3
generateContainerClassName()
S
72 1 5
isVisibleDisclaimerOrPriceUpdate()
S
79 1 3
getParams()
S
82 1 3
getTempatePrefix()
S
100 1 0
setItem()
S
77 1 4
setItems()
S
81 1 3
getColorVariants()
S
77 1 3
getTempateDir()
S
100 1 0
isTemplateExists()
S
79 1 3
getCustomTempateDirs()
S
100 1 0
colorMode()
S
81 1 3